var initialState = {
    productionLists:{},
    productionClassify:{},
    productionDetail:{},
    productionType:{}
}
function productionReducer(state=initialState,action){
    switch(action.type){      
        case "GETPRODUCTIONLISTS":
            return Object.assign({},state,{productionLists: action.data});
        case "GETPRODUCTIONCLASSIFY":
        return Object.assign({},state,{productionClassify:action.data});
        case "GETPRODUCTIONCDETAIL":
        return Object.assign({},state,{productionDetail:action.data});
        case "GETPRODUCTIONTYPE":
        return Object.assign({},state,{productionType:action.data});
            default:
            return state;
}
}
export default productionReducer;
